#ifndef ADDDEVICEWIDGET_H
#define ADDDEVICEWIDGET_H

#include <QWidget>

namespace Ui {
class AddDeviceWidget;
}

class AddDeviceWidget : public QWidget
{
    Q_OBJECT

public:
    explicit AddDeviceWidget(QWidget *parent = nullptr);
    ~AddDeviceWidget();
    void show(QString & userid);

private slots:
    void on_pushButton_clicked();

    void on_pushButton_2_clicked();

public slots:
    void onDevAdd(const bool & ret, const QString& msg);


private:
    Ui::AddDeviceWidget *ui;
    QString userid;
};

#endif // ADDDEVICEWIDGET_H
